Is it possible to use Cyrillic in behave in python?

Faced a problem when .feature use Cyrillic in the .feature file:

Sample features:

 Scenario Outline: get goods by detailid Given ั‚ะตัั‚ <detailid> 

Steppe example:

 @given('ั‚ะตัั‚ {detailid}') 

I get the error:

 You can implement step definitions for undefined steps with these snippets: @given(u'ั‚ะตัั‚ 225444') 

In the .feature file I tried to prescribe the encoding # coding:utf8 , but did not help.

If I use Latin, then there are no problems.
Tell me what am I doing wrong?

  • Are you sure you are using Python 3? Try u prefix add as recommended error message. - jfs
  • Yes, I am sure that I have Python 3. In the step I tried to add 'u, it did not help. '@given (u'test {detailid}') ' - sdudarev

0