Re: [PATCH 31/50] tests: Modify kernel test sets for python3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2019-02-05 at 18:24 +0900, Masashi Honma wrote:
> On 2019/02/05 17:37, Johannes Berg wrote:
> > On Tue, 2019-02-05 at 11:31 +0900, Masashi Honma wrote:
> > > On 2019/02/04 17:29, Johannes Berg wrote:
> > > > So you say you want to use utf-8 instead of ASCII?
> > > 
> > > No. I just mean test cases which include utf-8 SSID fails.
> > > Because it is recognized as "non string" by isinstance().
> > > Though self.s.send() looks recognizes it as "string".
> > > So self.s.send() tries to encode() and fails.
> > > Because it includes non ASCII charcter.
> > 
> > Huh, on python2 or python3? I had tested with some non-ASCII and
> > isinstance(x, str) was True for both. Hmm.
> 
> I'm using python3 and ap_wpa2_eap_ttls_mschapv2_utf8 test case.
> 

Ok, strange. Since Jouni has already applied quite a bit here, I'll just
leave it to you and him :)

johannes


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux