summaryrefslogtreecommitdiffstats
path: root/support/testing/tests/package/sample_python_twisted.py
diff options
context:
space:
mode:
Diffstat (limited to 'support/testing/tests/package/sample_python_twisted.py')
-rw-r--r--support/testing/tests/package/sample_python_twisted.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/support/testing/tests/package/sample_python_twisted.py b/support/testing/tests/package/sample_python_twisted.py
new file mode 100644
index 0000000000..47d6c5debc
--- /dev/null
+++ b/support/testing/tests/package/sample_python_twisted.py
@@ -0,0 +1,9 @@
+from twisted.internet import protocol, reactor, endpoints
+
+
+class F(protocol.Factory):
+ pass
+
+
+endpoints.serverFromString(reactor, "tcp:1234").listen(F())
+reactor.run()
OpenPOWER on IntegriCloud