Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 1372b38

Browse files
committed
Fixed failing tests.
1 parent b9c2536 commit 1372b38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/tests/test_cases/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# encoding: utf-8
22
# No docstring, so we can test D100
33
import sys
4-
from expected import Expectation
4+
from .expected import Expectation
55

66

77
expectation = Expectation()

src/tests/test_cases/unicode_literals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""This is a module."""
33

44
from __future__ import unicode_literals
5-
from expected import Expectation
5+
from .expected import Expectation
66

77

88
expectation = Expectation()

src/tests/test_definitions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def test_pep257():
132132
case_module = __import__('test_cases.{0}'.format(test_case),
133133
globals=globals(),
134134
locals=locals(),
135-
fromlist=['expected'],
135+
fromlist=['expectation'],
136136
level=1)
137137
# from .test_cases import test
138138
results = list(check([os.path.join(os.path.dirname(__file__),

0 commit comments

Comments
 (0)