#35571: TypeError in assertTemplateUsed when using pathlib.Path as template_name
------------------------------------+--------------------------------------
     Reporter:  Erik Z.             |                    Owner:  nobody
         Type:  Bug                 |                   Status:  closed
    Component:  Testing framework   |                  Version:  5.0
     Severity:  Normal              |               Resolution:  needsinfo
     Keywords:  assertTemplateUsed  |             Triage Stage:  Unreviewed
    Has patch:  1                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  1                   |                    UI/UX:  0
------------------------------------+--------------------------------------
Comment (by Erik Z.):

 Sure, I can understand that.
 I prepared a project which should give an understanding on how the error
 works.
 It can be found here:
 https://github.com/guserav/django_bug_test_template_name_str/
 all important code should be in
 
https://github.com/guserav/django_bug_test_template_name_str/commit/828d56b405c7932fdcf6c6c29a9038ce115628ed
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35571#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070190759aeb25-00f5f59b-cb7a-4982-9374-7b3d3b854503-000000%40eu-central-1.amazonses.com.

Reply via email to