summaryrefslogtreecommitdiff
path: root/test/regrtest_data
diff options
context:
space:
mode:
authorTorsten Marek <shlomme@gmail.com>2014-07-26 17:35:38 +0200
committerTorsten Marek <shlomme@gmail.com>2014-07-26 17:35:38 +0200
commit1403ee18cbd1c10fd0be2833c6a69b63f12d3bcb (patch)
treede8fe1cc08fa561d3b6fcb590a70b4166bfd8de6 /test/regrtest_data
parentf3a5077d08516bf04d7769f82b44f5bb13da1d74 (diff)
downloadpylint-1403ee18cbd1c10fd0be2833c6a69b63f12d3bcb.tar.gz
Port some regression tests to the new functional test framework and make it possible to specify required packages.
Diffstat (limited to 'test/regrtest_data')
-rw-r--r--test/regrtest_data/pygtk_enum_crash.py11
-rw-r--r--test/regrtest_data/pygtk_import.py14
-rw-r--r--test/regrtest_data/socketerror_import.py6
3 files changed, 0 insertions, 31 deletions
diff --git a/test/regrtest_data/pygtk_enum_crash.py b/test/regrtest_data/pygtk_enum_crash.py
deleted file mode 100644
index 471afe3..0000000
--- a/test/regrtest_data/pygtk_enum_crash.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# pylint: disable=C0121
-"""http://www.logilab.org/ticket/124337"""
-
-import gtk
-
-def print_some_constant(arg=gtk.BUTTONS_OK):
- """crash because gtk.BUTTONS_OK, a gtk enum type, is returned by
- astroid as a constant
- """
- print arg
-
diff --git a/test/regrtest_data/pygtk_import.py b/test/regrtest_data/pygtk_import.py
deleted file mode 100644
index 974035e..0000000
--- a/test/regrtest_data/pygtk_import.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#pylint: disable=R0903,R0904
-"""#10026"""
-__revision__ = 1
-from gtk import VBox
-import gtk
-
-class FooButton(gtk.Button):
- """extend gtk.Button"""
- def extend(self):
- """hop"""
- print self
-
-print gtk.Button
-print VBox
diff --git a/test/regrtest_data/socketerror_import.py b/test/regrtest_data/socketerror_import.py
deleted file mode 100644
index 37310cf..0000000
--- a/test/regrtest_data/socketerror_import.py
+++ /dev/null
@@ -1,6 +0,0 @@
-"""ds"""
-
-__revision__ = '$Id: socketerror_import.py,v 1.2 2005-12-28 14:58:22 syt Exp $'
-
-from socket import error
-print error