Skip to content

Commit 7b267e5

Browse files
cclausspoyea
authored andcommitted
Fix data_structures to pass our Travis CI pytests (#1088)
* Fix data_structures to pass pytests * Restore data_structures/stacks/__init__.py
1 parent 4a5589f commit 7b267e5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Diff for: .travis.yml

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ script:
1111
- scripts/validate_filenames.py # no uppercase and no spaces
1212
- mypy --ignore-missing-imports .
1313
- pytest . --doctest-modules
14-
--ignore=data_structures/stacks/balanced_parentheses.py
15-
--ignore=data_structures/stacks/infix_to_postfix_conversion.py
1614
--ignore=file_transfer_protocol/ftp_send_receive.py
1715
--ignore=file_transfer_protocol/ftp_client_server.py
1816
--ignore=machine_learning/linear_regression.py

Diff for: data_structures/stacks/balanced_parentheses.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import print_function
22
from __future__ import absolute_import
3-
from stack import Stack
3+
4+
from .stack import Stack
45

56
__author__ = 'Omkar Pathak'
67

Diff for: data_structures/stacks/infix_to_postfix_conversion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from __future__ import absolute_import
33
import string
44

5-
from stack import Stack
5+
from .stack import Stack
66

77
__author__ = 'Omkar Pathak'
88

0 commit comments

Comments
 (0)