File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -21,23 +21,23 @@ To use with a unix socket::
2121 >>> import clamd
2222 >>> cd = clamd.ClamdUnixSocket()
2323 >>> cd.ping()
24- u 'PONG'
24+ 'PONG'
2525 >>> cd.version() # doctest: +ELLIPSIS
26- u 'ClamAV ...
26+ 'ClamAV ...
2727 >>> cd.reload()
28- u 'RELOADING'
28+ 'RELOADING'
2929
3030To scan a file::
3131
3232 >>> open('/tmp/EICAR','wb').write(clamd.EICAR)
3333 >>> cd.scan('/tmp/EICAR')
34- {u '/tmp/EICAR': (u 'FOUND', u 'Eicar-Test-Signature')}
34+ {'/tmp/EICAR': ('FOUND', 'Eicar-Test-Signature')}
3535
3636To scan a stream::
3737
3838 >>> from six import BytesIO
3939 >>> cd.instream(BytesIO(clamd.EICAR))
40- {u 'stream': (u 'FOUND', u 'Eicar-Test-Signature')}
40+ {'stream': ('FOUND', 'Eicar-Test-Signature')}
4141
4242
4343License
Original file line number Diff line number Diff line change @@ -28,4 +28,3 @@ tests-require = six
2828
2929[nosetests]
3030with-doctest =1
31- doctest-extension =rst
You can’t perform that action at this time.
0 commit comments