diff options
author | Ronan Lamy <ronan.lamy@gmail.com> | 2018-12-07 06:19:58 +0000 |
---|---|---|
committer | Ronan Lamy <ronan.lamy@gmail.com> | 2018-12-07 06:19:58 +0000 |
commit | 4e9a13085e9857393f61dc7fb6f90b25ca0526ec (patch) | |
tree | a01fb1fb43f5e84ee32e98c5002add1abec3c4e1 /extra_tests/test_syslog.py | |
parent | Modernise tests, remove compatibility hacks for obsolete Pythons (diff) | |
download | pypy-4e9a13085e9857393f61dc7fb6f90b25ca0526ec.tar.gz pypy-4e9a13085e9857393f61dc7fb6f90b25ca0526ec.tar.bz2 pypy-4e9a13085e9857393f61dc7fb6f90b25ca0526ec.zip |
Move test_syslog
Diffstat (limited to 'extra_tests/test_syslog.py')
-rw-r--r-- | extra_tests/test_syslog.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extra_tests/test_syslog.py b/extra_tests/test_syslog.py new file mode 100644 index 0000000000..54c1283741 --- /dev/null +++ b/extra_tests/test_syslog.py @@ -0,0 +1,7 @@ +import pytest +syslog = pytest.importorskip('syslog') + +# XXX very minimal test + +def test_syslog(): + assert hasattr(syslog, 'LOG_ALERT') |