Skip to content

unittest2 or unittest #9

@jaivikram

Description

@jaivikram

https://github.com/Saaspire/sharpy/blob/master/tests/product_tests.py#L5
from unittest.case import SkipTest

I think the docs should say that the alias unittest actually refers to unittest2
Depending on which testing library is installed on a users system - unittest or unittest2 the line should change

if the user has just unittest2 and the alias unitest refers to that, its okay

but if the user has unittest and unittest2 then the line should change to

from unittest2.case import SkipTest

what do you think sean?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions