File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,17 @@ Library Installation
23
23
24
24
::
25
25
26
- pip3 install aiohttp
26
+ pip install aiohttp
27
27
28
28
For smart detection of *Content-Type * by client API you would like to
29
29
install `chardet ` also::
30
30
31
- pip3 install chardet
31
+ pip install chardet
32
32
33
- *Optional *: To improve performances, you can install `Cython ` **before ** `aiohttp `::
33
+ *Optional *: To improve performances, you can install `Cython `
34
+ **before ** `aiohttp `::
34
35
35
- pip3 install cython
36
+ pip install cython
36
37
37
38
Getting Started
38
39
---------------
Original file line number Diff line number Diff line change @@ -707,6 +707,14 @@ def test_upper(self):
707
707
s = self .cls ('a' )
708
708
self .assertIs (s , s .upper ())
709
709
710
+ def test_upstr_is_not_str (self ):
711
+
712
+ class A :
713
+ def __repr__ (self ):
714
+ return '<A repr>'
715
+
716
+ self .assertEqual ('<A REPR>' , self .cls (A ()))
717
+
710
718
711
719
class TestPyUpStr (_UpStrMixin , unittest .TestCase ):
712
720
You can’t perform that action at this time.
0 commit comments