summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/test_advanced.py4
-rw-r--r--examples/test_high_load.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/test_advanced.py b/examples/test_advanced.py
index d870735..52bcbee 100644
--- a/examples/test_advanced.py
+++ b/examples/test_advanced.py
@@ -149,7 +149,9 @@ class Test_ChangeAttributes(unittest.TestCase):
# no illegal values here, normal rules for the boolean value of an
# object are used thus all objects have a truth value.
- def test_UnconfiguredPort(self):
+ # this test does not work anymore since serial_class_for_url that is used
+ # now, already sets a port
+ def disabled_test_UnconfiguredPort(self):
# an unconfigured port cannot be opened
self.failUnlessRaises(serial.SerialException, self.s.open)
diff --git a/examples/test_high_load.py b/examples/test_high_load.py
index 25c01be..8306df1 100644
--- a/examples/test_high_load.py
+++ b/examples/test_high_load.py
@@ -44,7 +44,7 @@ class TestHighLoad(unittest.TestCase):
#~ N = 1
def setUp(self):
- self.s = serial.serial_class_for_url(PORT, PORT, BAUDRATE, timeout=10)
+ self.s = serial.serial_class_for_url(PORT, BAUDRATE, timeout=10)
def tearDown(self):
self.s.close()