Skip to content

Commit

Permalink
pep8 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Apr 23, 2017
1 parent cf2cb47 commit 1f83dcf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
8 changes: 5 additions & 3 deletions test/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@

from __future__ import unicode_literals

from pytablereader import InvalidFilePathError
from pytablereader._common import (
get_extension,
make_temp_file_path_from_url,
)
import pytest

from pytablereader._common import *
from pytablereader import *


class Test_get_extension:

Expand Down
8 changes: 5 additions & 3 deletions test/test_mediawiki_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
"""

from __future__ import unicode_literals

import collections

from path import Path
from pytablereader import TableData
from pytablereader.interface import TableLoader
from pytablereader.mediawiki.formatter import MediaWikiTableFormatter
import pytest

import pytablereader as ptr
from pytablereader.interface import TableLoader
from pytablereader import TableData
from pytablereader.mediawiki.formatter import MediaWikiTableFormatter


SKIP_TEST = True
Data = collections.namedtuple("Data", "value expected")
Expand Down
8 changes: 6 additions & 2 deletions test/test_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
from __future__ import absolute_import
from __future__ import unicode_literals

from pytablereader._constant import SourceType
from pytablereader._validator import (
FileValidator,
TextValidator,
UrlValidator,
)
import pytest

import pytablereader as ptr
from pytablereader._constant import SourceType
from pytablereader._validator import *


class Test_FileValidator_validate:
Expand Down

0 comments on commit 1f83dcf

Please sign in to comment.