diff options
| author | Torsten Marek <shlomme@gmail.com> | 2014-11-09 22:44:59 +0100 |
|---|---|---|
| committer | Torsten Marek <shlomme@gmail.com> | 2014-11-09 22:44:59 +0100 |
| commit | f5952d500ca1052252a0d8699be7ca3cf8e4eeda (patch) | |
| tree | 24950b435ecabac9e22f1a22ce03de980dcd231a /astroid/tests/testdata/python3/data/SSL1/Connection1.py | |
| parent | 7b8f664cf8aa5e8f2e7f444b2274ae62b6390e1c (diff) | |
| download | astroid-f5952d500ca1052252a0d8699be7ca3cf8e4eeda.tar.gz | |
Merge all test data into a single package per Python version.
Also modernized a lot of test code. This makes it possible to run the
tests from both the base directory of the project as well as the
astroid package.
Since the packages have the same name for Python 2 and 3, there is less
version-dependent code in the tests.
Diffstat (limited to 'astroid/tests/testdata/python3/data/SSL1/Connection1.py')
| -rw-r--r-- | astroid/tests/testdata/python3/data/SSL1/Connection1.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/astroid/tests/testdata/python3/data/SSL1/Connection1.py b/astroid/tests/testdata/python3/data/SSL1/Connection1.py new file mode 100644 index 0000000..7373271 --- /dev/null +++ b/astroid/tests/testdata/python3/data/SSL1/Connection1.py @@ -0,0 +1,14 @@ +"""M2Crypto.SSL.Connection + +Copyright (c) 1999-2004 Ng Pheng Siong. All rights reserved.""" + +RCS_id='$Id: Connection1.py,v 1.1 2005-06-13 20:55:22 syt Exp $' + +#Some code deleted here + +class Connection: + + """An SSL connection.""" + + def __init__(self, ctx, sock=None): + print('init Connection') |
