Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Conversation

@asottile
Copy link
Member

@asottile asottile commented Feb 4, 2016

No description provided.


def test_directory_does_not_exist(self):
with self.assertRaises(OSError):
sass.compile(dirname=('i_dont_exist_lol', 'out'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the docs, use as a context manager of assertRaises() is introduced in Python 2.7. See also py26 build.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah of course, I always forget this /me fixes

@asottile
Copy link
Member Author

asottile commented Feb 4, 2016

humm, seems mccabe 0.4.0 is not eggable in py35 on windows, @dahlia would you be opposed to abandoning python setup.py test and move to something like py.test sasstests.py ?

@dahlia
Copy link
Member

dahlia commented Feb 5, 2016

No problem. I personally prefer py.test over unittest.

On Fri, Feb 5, 2016, 7:01 AM Anthony Sottile [email protected]
wrote:

humm, seems mccabe 0.4.0 is not eggable in py35 on windows, @dahlia
https://github.com/dahlia would you be opposed to abandoning python
setup.py test and move to something like py.test sasstests.py ?


Reply to this email directly or view it on GitHub
#119 (comment)
.

asottile added a commit that referenced this pull request Feb 20, 2016
Error when source directory does not exist.  Resolves #116.
@asottile asottile merged commit ae0f92e into sass:python Feb 20, 2016
@asottile asottile deleted the raise_on_no_input_directory branch February 20, 2016 21:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants