-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refs #32508 -- Raised ValueError instead of using "assert" in lazy(). #14114
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramezani Thanks for this patch 👍 , however I would leave most of these asserts.
742d15b
to
4bb316e
Compare
from django.test import SimpleTestCase | ||
from django.utils import regex_helper | ||
|
||
|
||
class NormalizeTests(unittest.TestCase): | ||
class NormalizeTests(SimpleTestCase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not required. I'll drop the last commit.
4bb316e
to
775b796
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramezani Thanks for updates 👍 I pushed small edits.
https://code.djangoproject.com/ticket/32508