aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Lamy <ronan.lamy@gmail.com>2018-12-07 06:19:58 +0000
committerRonan Lamy <ronan.lamy@gmail.com>2018-12-07 06:19:58 +0000
commit4e9a13085e9857393f61dc7fb6f90b25ca0526ec (patch)
treea01fb1fb43f5e84ee32e98c5002add1abec3c4e1 /extra_tests/test_syslog.py
parentModernise tests, remove compatibility hacks for obsolete Pythons (diff)
downloadpypy-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.py7
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')